package com.lxyk.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.lxyk.pojo.Account;
import org.apache.ibatis.annotations.Select;
import org.springframework.stereotype.Repository;

/**
 * @ClassName AccountMapper
 * @Description TODO
 * @Author FJQ
 * @Date 2022/10/21 14:32
 * @Version 1.0
 **/
@Repository
public interface AccountMapper extends BaseMapper<Account> {

    @Select("select * from tb_account where user_mobile=#{userMobile}")
    Account login(Account account);

}
